package com.atguigu.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author baker.yuan
 */
@SpringBootApplication
public class App {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(App.class, args);
        //Jedis jedis = context.getBean(Jedis.class);        //如果成功连接上了redis，jedis.ping()会返回一个pong
        //System.out.println(jedis.ping());
    }
}
